import resolve from 'rollup-plugin-node-resolve'
import commonjs from 'rollup-plugin-commonjs'
import pkg from './package.json'

export default {
    input: 'src/index.js',
    output: {
        file: 'dist/hls-download.js',
        format: 'umd'
    },
    name: 'hlsDownload',
    plugins: [
        resolve({
            module: true,
            jsnext: true,
            extensions: ['.js', '.json']
        }),
        commonjs()
    ]
}
